/* 
 * File:   Regex.h
 * Author: ucho
 *
 * Created on August 4, 2008, 12:06 AM
 */

#ifndef _REGEX_H
#define	_REGEX_H
class Regex {
public:
	Regex(): s_(new std::string()){}
	Regex(std::string *s): s_(s){}
	bool match(std::string *s) {
		//std::cout << "matching: "<< *s_ << " and "<< *s <<std::endl;
		return s_->compare(*s) == 0;
	}
private:
	std::string *s_;
};

#endif	/* _REGEX_H */

